package com.hg.hggood.service;

import com.hg.hggood.entity.Order;
import com.hg.hggood.entity.OrderItem;
import com.hg.hggood.vo.OrderVO;
import org.aspectj.weaver.ast.Or;

import java.util.List;

public interface IOrderService {

    Order create(Integer aid, Integer uid, String username, Integer[] cids);

    List<OrderVO> getVOByUid(Integer uid);

    void delete(Integer oid, Integer uid, String username);

    void deleteOrderItemId(Integer id , Integer uid, String username);


//
//    void deleteByID(Integer id);
//
//    void setTotalPrice(Integer oid);
}
